/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.open.crypt.service.result.info;

import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.security.PrivateKey;
import java.security.PublicKey;

/**
 * <b>(OpenCertCryptInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/10/14
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class OpenCertCryptInfo {
    PrivateKey privateKey;
    PublicKey  publicKey;
    String     privateKeyStr;
    String     publicKeyStr;
    @Builder.Default
    String algorithm = "RSA";
}